package com.heroCW.bodhiAttic.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.heroCW.bodhiAttic.entity.Employee;


public interface EmployeeService extends IService<Employee> {

    // 根据名字（非空）查询所有并分页
    IPage<Employee> getPage(int page, int pageSize, String name);

    // 根据username查询用户
    Employee getEmployeeByUsername(String username);

    // 修改用户
    Boolean updateUser(Employee employee);
}
